import request from '@/utils/request'

// 查询收费标准列表
export function listT(query) {
  return request({
    url: '/house/fees/list',
    method: 'get',
    params: query
  })
}

// 查询收费标准详细
export function getT(feesId) {
  return request({
    url: '/house/fees/' + feesId,
    method: 'get'
  })
}

// 新增收费标准
export function addT(data) {
  return request({
    url: '/house/fees',
    method: 'post',
    data: data
  })
}

// 修改收费标准
export function updateT(data) {
  return request({
    url: '/house/fees',
    method: 'put',
    data: data
  })
}

// 删除收费标准
export function delT(feesId) {
  return request({
    url: '/house/fees' + feesId,
    method: 'delete'
  })
}
